package com.xinzhidi.web.house.domain.dto;

import com.xinzhidi.common.annotation.Excel;
import com.xinzhidi.common.core.page.PageQueryDto;
import com.xinzhidi.web.build.domain.CBuild;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;


/**
 * 住户ListDto对象 c_household
 *
 * @author cx
 * @date 2023-05-23
 */
@ApiModel(value = "住户ListDto对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class HouseholdListDto extends PageQueryDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小区id")
    @Excel(name = "小区id")
    private Long plotId;

    @ApiModelProperty(value = "楼栋id")
    @Excel(name = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "单元号")
    @Excel(name = "单元号")
    private Long unit;

    @ApiModelProperty(value = "楼层号")
    @Excel(name = "楼层号")
    private Long floor;

    @ApiModelProperty(value = "门牌号")
    @Excel(name = "门牌号")
    private String houseNumber;

    @ApiModelProperty(value = "住户姓名")
    @Excel(name = "住户姓名")
    private String userName;

    @ApiModelProperty(value = "移动电话")
    @Excel(name = "移动电话")
    private String mobilePhone;

    @ApiModelProperty(value = "供热类型")
    @Excel(name = "供热类型")
    private String heatingType;

    @ApiModelProperty(value = "楼栋信息")
    private List<CBuild> cBuildList;


    @ApiModelProperty(value = "是否供热（0是 1否）")
    @Excel(name = "是否供热")
    private Long heatingOrNot;

    @ApiModelProperty(value = "用户类型")
    private String type;

}
